package com.jwds.digital.bios.business.core.infrastructure.entity.belt;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jwds.tdc.framework.database.lib.BaseEntity;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 皮带健康评分表
 *
 * @author 林柏云
 * @date 2024-10-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("belt_health_score")
@Accessors(chain = true)
public class BeltHealthScore extends BaseEntity<Long> {


    /**
    * 皮带id
    */
    @TableField("belt_id")
    private Long beltId;


    /**
    * 作业ID
    */
    @TableField("task_id")
    private Long taskId;

    /**
     * 作业类型
     */
    @TableField("task_type")
    private String taskType;


    /**
    * 路线ID
    */
    @TableField("route_id")
    private Long routeId;


    /**
    * 扣分项
    */
    @TableField("deduction_item")
    private String deductionItem;


    /**
    * 扣减分数
    */
    @TableField("deduction_score")
    private BigDecimal deductionScore;


    /**
    * 健康类型，0,1,2，机械，健康，五防
    */
    @TableField("health_type")
    private Integer healthType;


    /**
    * 评分时间
    */
    @TableField("score_time")
    private LocalDateTime scoreTime;



}
